package org.example.tinyurl.api;

import org.example.tinyurl.entity.RpcResult;

/**
 * @author: zk
 * @date: 2023/6/19 10:34
 */
public interface TinyUrlService {

    RpcResult<String> generateTinyUrl(String longUrl);

    RpcResult<String> getLongUrl(String tinyUrl);
}
